<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.qifan.alb2b.domain.CountryInfoDomain"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>易能旅游网站--订单管理</title>
	<%@ include file="/pages/common/common_f.jsp" %>	
	<link rel="stylesheet" type="text/css" href="${ctx}/css/register.css" />	
  </head>
 <body style="margin:0;padding:0;height:100%;overflow:scroll;background:#F2FBFF">
  	<div class="main">
		<jsp:include page="/pages/front/inc/header.jsp"></jsp:include><!-- 顶部导航 -->
		<div class="info">
			<span class="location"><span style="font-weight: bold;">位置：</span>首页>用户中心>订单列表</span>
			<span class="user">欢迎您：火星人[退出]</span>
		</div>
		<div class="content">
			<div class="left">
				<jsp:include page="/pages/front/user/left_model.jsp"></jsp:include>
			</div>
			<div class="right" id="right">
<c:choose>
	<c:when test="${empty hotels}">
	<tr>
		<td>暂时还没有酒店价格信息</td>
	</tr>
	</c:when>
	<c:otherwise>
	<c:forEach items="${orders}" var="orders" varStatus="s">
	<tr <c:if test="${s.count%2!=0}">class="rowalt"</c:if>>
		<td width="60%">
			<a class="mya" href="${ctx}/userCenter/orderDetail.usr?orderId=${orders.orderId}">${orders.orderId}</a>
		</td>
		<td width="40%">
		<c:choose>
			<c:when test="${orders.orderStatus eq 1}">
			已付款
			</c:when>
			<c:when test="${orders.orderStatus eq 2}">
			未付款
			</c:when>
			
			<c:otherwise>
			未知
			</c:otherwise>
			</c:choose>
			</td>
		<td width="60%">
			<a class="mya" href="${ctx}/userCenter/orderPay.usr?orderId=${orders.orderId}">${orders.orderId}</a>
		</td>
	</tr>
	</c:forEach>
	</c:otherwise>
</c:choose>
</div><!-- end right -->
			<div class="vertical-border"></div><!-- center border-line -->
		</div><!-- end content -->
	</div><!-- end main -->
	

</body>

</html>
<c:if test="${!empty routes}">
<div class="more">
	<a href="#">更多...</a>
</div>
<script type="text/javascript">	
	//表格tr鼠标飘过样式
	$(".mytable tr").mouseover(function(){
		$(this).attr("style","background-color:#D0E5F5");
	});
	$(".mytable tr").mouseout(function(){
		$(this).removeAttr("style");
	});
</script>
</c:if>
